package com.github.bobjoy.java.aop.bean;

import com.github.bobjoy.java.aop.annotation.Timer;

public class Chinese implements Person {

    @Timer
    @Override
    public void sleep() {
        System.out.println("\n睡觉！不休息哪里有力气学习！\n");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
